<template>
  <div id="app">
    <Header/>
    <transition mode="out-in">
      <router-view></router-view>
    </transition>
    <Footer  v-if="$route.meta.showFooter"/>
  </div>
</template>

<script>
import Header from "./components/Header.vue";
import Footer from "./components/Footer.vue";
export default {
  name: "App",
  components: {
    Header,
    Footer,
  },
};
</script>
<style>
.v-enter,
.v-leave-to {
  opacity: 0;
  transform: translateX(100%);
}
.v-enter-active,
.v-leave-active {
  transition: all 0.4s ease;
}
</style>
